package com.kgc.mapper;

import com.kgc.bean.OrderInfo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

/**
 * @Author：周申宇 <p>
 * @Date:2021/6/24 10:43
 * <p>
 * @Decription:
 */
public interface OrderInfoMapper {


    /**
     * @Author: zhouyu
     * @Param: [orderInfoId]
     * @Return: com.kgc.bean.OrderInfo
     * @Description:  根据订单编号查询订单信息
     */
    OrderInfo selectOrderInfoByOrderInfoId(String orderInfoId);

    /**
     * @Author: zhouyu
     * @Param: [orderInfo]
     * @Return: java.lang.Integer
     * @Description:
     */
    Integer insertOrderInfo(OrderInfo orderInfo);

    /**
     * @Author: zhouyu
     * @Param:
     * @Return:
     * @Description: 根据订单编号修改订单状态
     */
    Integer updateOrderInfoByOrderInfoId(String OrderInfoId);


    Integer updateOrderInfo(@Param("orderInfo") OrderInfo orderInfo);


}
